package com.regex.web.entity.member;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.regex.web.common.excel.annotation.ExcelField;
import com.regex.web.entity.StrIdBaseEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author ocean.ma
 * @since 2019-03-18
 */
@TableName("t_member_card")
public class MemberCardDTO extends StrIdBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 商户id
     */
    @TableField("bussiness_id")
    private String bussinessId;

    /**
     * 卡号
     */
    @TableField("card_no")
    private String cardNo;

    /**
     * 会员id
     */
    @TableField("member_id")
    private String memberId;

    /**
     * 姓名
     */
    @TableField("name")
    private String name;

    /**
     * 性别
     */
    @TableField("sex")
    private String sex;

    /**
     * 生日
     */
    @TableField("birthday")
    private String birthday;

    /**
     * 邮箱
     */
    @TableField("email")
    private String email;

    /**
     * 电话
     */
    @TableField("tel")
    private String tel;

    /**
     * 等级
     */
    @TableField("level")
    private String level;

    /**
     * 积分
     */
    @TableField("point")
    private Double point;

    /**
     * 绑定时间
     */
    @TableField("bind_time")
    private Date bindTime;

    /**
     * 来源
     */
    @TableField("source")
    private String source;

    /**
     * 是否绑定
     */
    @TableField("is_bind")
    private String isBind;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 会员数据
     */
    @TableField("member_data")
    private String memberData;

    /**
     * 其他系统id
     */
    @TableField("other_sys_id")
    private String otherSysId;

    /**
     * 详情
     */
    @TableField("intro")
    private String intro;

    /**
     * 头像
     */
    @TableField("head_pic_url")
    private String headPicUrl;

    
    @ExcelField(title="商户id", type=1, align=2 , sort=1)
    public String getBussinessId() {
        return bussinessId;
    }

    public void setBussinessId(String bussinessId) {
        this.bussinessId = bussinessId;
    }
    
    @ExcelField(title="卡号", type=1, align=2 , sort=2)
    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
    
    @ExcelField(title="会员id", type=1, align=2 , sort=3)
    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }
    
    @ExcelField(title="姓名", type=1, align=2 , sort=4)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    @ExcelField(title="性别", type=1, align=2 , sort=5)
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    
    @ExcelField(title="生日", type=1, align=2 , sort=6)
    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
    
    @ExcelField(title="邮箱", type=1, align=2 , sort=7)
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    
    @ExcelField(title="电话", type=1, align=2 , sort=8)
    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    
    @ExcelField(title="等级", type=1, align=2 , sort=9)
    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }
    
    @ExcelField(title="积分", type=1, align=2 , sort=10)
    public Double getPoint() {
        return point;
    }

    public void setPoint(Double point) {
        this.point = point;
    }
    
    @ExcelField(title="绑定时间", type=1, align=2 , sort=11)
    public Date getBindTime() {
        return bindTime;
    }

    public void setBindTime(Date bindTime) {
        this.bindTime = bindTime;
    }
    
    @ExcelField(title="来源", type=1, align=2 , sort=12)
    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
    
    @ExcelField(title="是否绑定", type=1, align=2 , sort=13)
    public String getIsBind() {
        return isBind;
    }

    public void setIsBind(String isBind) {
        this.isBind = isBind;
    }
    
    @ExcelField(title="状态", type=1, align=2 , sort=14)
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    
    @ExcelField(title="会员数据", type=1, align=2 , sort=15)
    public String getMemberData() {
        return memberData;
    }

    public void setMemberData(String memberData) {
        this.memberData = memberData;
    }
    
    @ExcelField(title="其他系统id", type=1, align=2 , sort=16)
    public String getOtherSysId() {
        return otherSysId;
    }

    public void setOtherSysId(String otherSysId) {
        this.otherSysId = otherSysId;
    }
    
    @ExcelField(title="详情", type=1, align=2 , sort=17)
    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }
    
    @ExcelField(title="头像", type=1, align=2 , sort=18)
    public String getHeadPicUrl() {
        return headPicUrl;
    }

    public void setHeadPicUrl(String headPicUrl) {
        this.headPicUrl = headPicUrl;
    }

    @Override
    protected Serializable pkVal() {
        return super.pkVal();
    }

    @Override
    public String toString() {
        return "MemberCardDTO{" +
        "bussinessId=" + bussinessId +
        ", cardNo=" + cardNo +
        ", memberId=" + memberId +
        ", name=" + name +
        ", sex=" + sex +
        ", birthday=" + birthday +
        ", email=" + email +
        ", tel=" + tel +
        ", level=" + level +
        ", point=" + point +
        ", bindTime=" + bindTime +
        ", source=" + source +
        ", isBind=" + isBind +
        ", state=" + state +
        ", memberData=" + memberData +
        ", otherSysId=" + otherSysId +
        ", intro=" + intro +
        ", headPicUrl=" + headPicUrl +
        "}";
    }
}
